//
//  HJOrderedDictionary.h
//  TJPageControllTest
//
//  Created by lx on 2023/11/18.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface HJOrderedDictionary <KeyType, ObjectType>: NSObject

@property (readonly, strong) NSArray<KeyType> *allKeys;
@property (readonly, strong) NSArray<ObjectType> *allValues;

+ (instancetype)dictionary;

- (void)setObject:(id)anObject forKey:(id<NSCopying>)aKey;
- (id)objectForKey:(id)aKey;
- (void)removeObjectForKey:(id)aKey;
- (NSUInteger)count;

@end

NS_ASSUME_NONNULL_END
